package com.pactera.miyuangroup.vo.convertor;

import com.baomidou.mybatisplus.plugins.Page;
import com.pactera.miyuangroup.db.entity.Replenishment;
import com.pactera.miyuangroup.vo.request.app.AppAddReplenishmentReq;
import com.pactera.miyuangroup.vo.response.web.ReplenishmentRes;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 描述:
 *      组织结构转换
 * @outhor 张汉卿
 * @create 2018-04-23 10:42
 */

@Mapper(componentModel = "spring")
public interface ReplenishmentConvert {

    /**
     * 批量数据库转页面对象
     *
     * @param
     * @return
     */
    List<ReplenishmentRes> convert2ReplenishmentRes(List<ReplenishmentRes> replenishmentList);


    /*
    * po 2  DO
    * */
    Replenishment convert2Replenishment(AppAddReplenishmentReq appAddReplenishmentReq);
}
